package com.springboot.jktj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.springboot.common.annotation.Excel;
import com.springboot.common.core.domain.BaseEntity;

/**
 * 医生列对象 jktj_doctor
 * 
 * @author springboot
 * @date 2023-11-29
 */
public class JktjDoctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String doctorName;

    /** 职称 */
    @Excel(name = "职称")
    private String position;

    /** 头像 */
    @Excel(name = "头像")
    private String profilePhoto;

    /** 科室 */
    @Excel(name = "科室")
    private Long depId;

    /** 医龄 */
    @Excel(name = "医龄")
    private Long doctorAge;

    /** 专家 */
    @Excel(name = "专家")
    private String specialist;

    /** 排班 */
    @Excel(name = "排班")
    private String work;

    //科室实体类
    private JktjDepartment jktjDepartment;

    public JktjDepartment getJktjDepartment() {
        return jktjDepartment;
    }

    public void setJktjDepartment(JktjDepartment jktjDepartment) {
        this.jktjDepartment = jktjDepartment;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setProfilePhoto(String profilePhoto) 
    {
        this.profilePhoto = profilePhoto;
    }

    public String getProfilePhoto() 
    {
        return profilePhoto;
    }
    public void setDepId(Long depId) 
    {
        this.depId = depId;
    }

    public Long getDepId() 
    {
        return depId;
    }
    public void setDoctorAge(Long doctorAge) 
    {
        this.doctorAge = doctorAge;
    }

    public Long getDoctorAge() 
    {
        return doctorAge;
    }
    public void setSpecialist(String specialist) 
    {
        this.specialist = specialist;
    }

    public String getSpecialist() 
    {
        return specialist;
    }
    public void setWork(String work) 
    {
        this.work = work;
    }

    public String getWork() 
    {
        return work;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("doctorName", getDoctorName())
            .append("position", getPosition())
            .append("profilePhoto", getProfilePhoto())
            .append("depId", getDepId())
            .append("doctorAge", getDoctorAge())
            .append("specialist", getSpecialist())
            .append("work", getWork())
            .append("jktjDepartment",getJktjDepartment())
            .toString();
    }
}
